Passed
Push — master ( 3919cd...d8aded )
by Felipe Catão do
01:22 queued 11s
created

functionsClass   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 3
dl 0
loc 4
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A gotoLink 0 2 1
1
import menu from "../components/menu.js"
2
import EngineApp from '../../Framework/engine.js'
3
import homePage from "../pages/home.js"
4
import routes from '../routes/routes.js'
5
6
var eng=new EngineApp()
7
var rto = new routes()
0 ignored issues
show
Coding Style Best Practice introduced by
By convention, constructors like routes should be capitalized.
Loading history...
8
//renderizar o menu
9
rto.routesCreated()
10
menu(1)
11
document.getElementById("docLink").addEventListener("click",gotolinkDoc,false)
12
document.getElementById("homelavine").addEventListener("click",homeLink,false)
13
14
function gotolinkDoc(){
15
    rto.doc()
16
}
17
function homeLink(){
18
    rto.teste()
19
}
20
class functionsClass{
21
    gotoLink(){
22
    }
23
}
24
25
export default functionsClass